package com.laiketui.order.api.params.store;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laiketui.domain.vo.MainVo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Setter
@Getter
@ToString
public class StoreMchOrderConfirmParams extends MainVo {

    @NotNull(message = "订单号不能为空")
    private String orderNo;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public Date estimatedDeliveryTime;
    //跟单备注
    public String remark;

    private String adminId;
}
